﻿using System;

namespace LinqCustomCompiler.Model
{
  public static class ComparisonExtensions
  {
    public static bool GreaterThan<T>(this T left, T right)
      where T : IComparable<T>
    {
      return left.CompareTo(right) > 0;
    }
  }
}